body {
  font-family: 'Cairo', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #fff;
  color: #333;
}

.intro-section {
  background-color: #a50044;
  color: #fff;
  padding: 40px 20px;
  border-radius: 0 0 60px 60px;
  text-align: center;
}

.intro-section h2 {
  font-size: 30px;
  font-weight: bold;
  font-family: 'El Messiri', sans-serif;
}

.intro-section h2 span {
  transition: color 0.4s ease;
}

/* اللون الأساسي لكل سبان */
.intro-section .who {
  color: #000;
}
.intro-section .we {
  color: #fff;
}

/* الهوفر */
.intro-section .who:hover {
  color: #ff4081;
}
.intro-section .we:hover {
  color: #ff4081;
}

.intro-section p {
  font-size: 18px;
  line-height: 2;
  max-width: 850px;
  margin: 20px auto;
  text-align: center;
}

.info-box {
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-start;
  justify-content: center;
  gap: 40px;
  background-color: #F7E8EB;
  border-radius: 25px;
  padding: 40px 30px;
  margin: -40px auto 40px;
  max-width: max-content;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  flex-wrap: wrap;
}

.info-box img {
  width: 430px;
  border-radius: 15px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  margin-top: auto;
  max-width: 100%;
}

.info-box .text {
  max-width: 650px;
}

.info-box .text h3 {
  font-size: 28px;
  color: #000;
  font-weight: bold;
  margin-top: 30px;
  margin-bottom: 30px;
  text-align: center;
}

.info-box .text p {
  font-size: 16px;
  line-height: 2;
  color: #333;
  margin-bottom: 20px;
  text-align: justify;
}

.vision-message-goals {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding: 40px;
  background-color: #fff;
  max-width: 1200px;
  margin: 0 auto 40px;
}

.vision-message-goals .left-col,
.vision-message-goals .right-col {
  flex: 1 1 300px;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.vision-message-goals .box {
  background-color: #fff;
  border-radius: 15px;
  padding: 0 30px;
}

.vision-message-goals .box h3 {
  font-size: 24px;
  font-weight: bold;
  color: #a50044;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.vision-message-goals .box h3 i {
  margin-left: 10px;
}

.vision-message-goals .box p,
.vision-message-goals .box ul.checklist li {
  font-size: 16px;
  line-height: 2;
  color: #333;
  text-align: justify;
  margin-bottom: 28px;
}

.vision-message-goals .box ul.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.vision-message-goals .box ul.checklist li::before {
  content: "✔";
  color: #d47124;
  padding-left: 10px;
}

.values-section {
  background-color: #F7E8EB;
  padding: 40px;
  border-radius: 20px;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto 40px;
}

.values-section .section-header {
  font-size: 28px;
  font-weight: bold;
  color: #a50044;
  margin-bottom: 5px;
}

.values-section p {
  font-weight: bold;
  padding-top: 0px;
  color: black;
  font-size: 16px;
}

.structure-section {
  padding: 40px;
  border-radius: 20px;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto 40px;
  background-image: url('../Images/background.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  z-index: 1;
  color: #a50044;
}

.structure-section p {
  font-weight: bold;
  padding-top: 0px;
  color: black;
  font-size: 16px;
}

.values-box {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
}

.values-box div {
  background-color: #fff;
  padding: 10px 50px;
  border-radius: 10px;
  font-weight: bold;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.values-box div:hover{
  transform: translateY(-3px);
  background-color: #a50044;
  color: white;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.structure-section .levels {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 400px;
  margin: 30px auto 0;
}

.structure-section .levels div {
  background-color: #a50044;
  color: white;
  padding: 10px;
  border-radius: 10px;
  font-weight: bold;
}

.structure-section .levels div:nth-child(2),
.structure-section .levels div:nth-child(3) {
  background-color: #F7E8EB;
  color: black;
}

.awards-box {
  background-color: #F7E8EB;
  padding: 40px;
  border-radius: 20px;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto 40px;
}

.award-item {
  display: flex;
  align-items: flex-start;
  color: #333;
  padding: 15px;
  border-radius: 15px;
  max-width: 600px;
  margin: 0 auto;
  text-align: right;
  flex-wrap: wrap;
}

.awards-box .section-header {
  font-size: 28px;
  font-weight: bold;
  color: #a50044;
  margin-bottom: 5px;
}

.awards-box .section-header i {
  margin-right: 14px;
}

.award-item .label {
  width: 150px;
  font-weight: 800;
  color: #a50044;
}

.award-item .value {
  flex: 1;
  color: #000;
  font-size: 18px;
  line-height: 1.6;
}

.awards-box p {
  font-weight: bold;
  padding-top: 0px;
  color: black;
  margin-bottom: 20px;
  margin-right: 350px;
  margin-left: 350px;
  border-bottom: 2px solid #a500452f;
}

.networks-box {
  background-color: #F7E8EB;
  padding: 40px;
  border-radius: 20px;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto 40px;
}

.networks-box h2 {
  font-size: 28px;
  font-weight: bold;
  color: #a50044;
  margin-bottom: 30px;
}

.networks-box .lists {
  display: flex;
  flex-wrap: wrap;
  gap: 150px;
  justify-content: center;
}

.networks-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.networks-box ul li {
  margin-bottom: 10px;
  background-color: white;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  color: #333;
  font-weight: 600;
  text-align: right;
}

.networks-box ul li .custom-arrow {
  color: #a50044;
  margin-left: 10px;
  margin-right: 20px;
  font-size: 18px;
  vertical-align: middle;
}

/* كلاس الاهتزاز */
@keyframes shake {
  0% { transform: translateX(0); }
  25% { transform: translateX(-2px); }
  50% { transform: translateX(2px); }
  75% { transform: translateX(-1px); }
  100% { transform: translateX(0); }
}

.lists li {
  transition: transform 0.3s ease;
}

.lists li:hover {
  animation: shake 0.3s;
}



/* responsive sections */
@media (max-width: 768px) {

  body {
    font-size: 14px !important;  /* تصغير الخط العام */
  }

  /* النافبار */
  header {
    height: auto !important;
    padding: 10px 20px !important;
    background-color: #ffffff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: relative !important;
    z-index: 1000;
  }

  header > div {
    flex-direction: column !important;
    align-items: center !important;
    gap: 10px;
  }

  /* الشعار */
  header img {
    height: 40px !important;
    margin: 0 auto !important;
  }

  /* القوائم */
  nav ul {
    flex-direction: column !important;
    gap: 8px !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    align-items: center !important;
  }

  nav ul li {
    width: 100% !important;
    text-align: center !important;
  }

  nav ul li a {
    font-size: 13px !important;
    padding: 8px 0 !important;
    display: block;
    width: 100%;
  }

  /* أيقونة البحث */
  nav ul li a .search-icon {
    font-size: 18px !important;
  }

  /* زر العضوية */
  .membership-btn {
    min-width: 100% !important;
    font-size: 14px !important;
    height: 35px !important;
    border-radius: 20px !important;
    padding: 0 !important;
    text-align: center !important;
  }

  /* الأقسام كلها تملأ العرض مع بادينج من الجوانب */
  .intro-section,
  .info-box,
  .vision-message-goals,
  .values-section,
  .structure-section,
  .awards-box,
  .networks-box {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    box-sizing: border-box !important;
    margin: 20px auto !important;
    border-radius: 20px !important;
  }

  /* جعل الخلفية الزهرية للأقسام التي لها خلفية تبقى مع البادينج */
  .intro-section,
  .info-box,
  .values-section,
  .structure-section,
  .awards-box,
  .networks-box {
    background-color: #F7E8EB !important;
  }

  /* بعض الأقسام مثل intro-section محتفظة بخلفية العنابي */
  .intro-section {
    background-color: #a50044 !important;
    color: #fff !important;
  }

  /* تصغير حجم الصور داخل info-box */
  .info-box img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin-bottom: 15px !important;
  }

  /* تنظيم النص داخل info-box */
  .info-box {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }

  /* تصغير حجم العناوين */
  h2, h3 {
    font-size: 20px !important;
  }

  /* تصغير حجم الفقرات */
  p, li {
    font-size: 14px !important;
    line-height: 1.6 !important;
  }

  /* القوائم الفرعية داخل الفوتر تحفظ محاذاتها لليمين وتبدأ من نفس النقطة */
  footer ul {
    padding-right: 20px !important;
  }

  footer ul li {
    text-align: right !important;
    padding-right: 10px !important;
    margin-bottom: 8px !important;
  }

  /* الفوتر */
  footer div[style*="flex: 1"] {
    width: 100% !important;
    margin-bottom: 30px !important;
    text-align: center !important;
  }

  /* حاوية الفوتر */
  footer > div {
    flex-direction: column !important;
    gap: 20px !important;
    align-items: center !important;
  }

}
